package com.ruoyi.teaching.dao;

import com.ruoyi.teaching.domain.TeachingClass;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 一阵风r
 * @Date 2022/3/22 12:34
 * @Version 1.0
 */
@Repository
public interface TeachingClassDao  extends JpaRepository<TeachingClass, Long> {

    List<TeachingClass> findByCode(Long code);

}
